-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fwcfg: fix wmic query to ensure windbg installation for fwcfg cases #4181
base: master
Are you sure you want to change the base?
Conversation
03313b7
to
1b13681
Compare
827c3a3
to
ec972ec
Compare
Test Result:
|
@xiagao Could you help review this patch since our windbg tools not problem has been fixed? This is not urgent, thanks for your time :) |
provider/win_dump_utils.py
Outdated
if status == 1: | ||
time.sleep(30) | ||
else: | ||
LOG_JOB.info("windbg tool installation completed") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the original utils_misc.wait_for() function is better, extending the timeout value could cover your requirement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree with you. We can only modify the WMIC queries part and keep the current timeout value.
7600459
to
48df467
Compare
Test Result:
|
Hi @xiagao, Could you help review this patch again? It has passed for the all guests. |
48df467
to
3b4cce9
Compare
qemu/tests/cfg/fwcfg.cfg
Outdated
@@ -19,21 +19,17 @@ | |||
image_name_stg = "images/storage" | |||
remove_image_stg = yes | |||
no ppc64 ppc64le aarch64 | |||
chk_windbg_cmd = 'wmic product get name,version | find /i "SDK Debuggers"' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As WMIC would be deprecated gradually, it is superseded by windows powershell for WMI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I will find the replacement command.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This command line could be a replacement.
Get-WmiObject Win32_Product | Where-Object Name -like "*SDK Debuggers*" | Select Name, Version
3b4cce9
to
9d0bd15
Compare
The issue with WinDbg not being found was caused by incorrect WMIC queries. Signed-off-by: wji <[email protected]>
9d0bd15
to
3830383
Compare
The issue with WinDbg not being found was caused by incorrect WMIC queries.
ID: 1770
Signed-off-by: wji [email protected]